<?php $this->load->helper('tgl_indonesia'); ?>
<div id="single">
			<?php foreach($detail as $d):?>
        	<div class="nav_tengah"><?php echo $d['judul']; ?></div>
            <div class="single_page">
            <?php
			$url	= 'http://www.amcc.or.id/web/detailberita/'.$d['id_berita'].'/'.$d['judul_seo'];
			$text	= $d['judul'];
			
			?>
            
            <p><small><?php echo $d['hari'].', '. tgl_indo($d['tanggal']);?></small></p>
            <!--<small><?php echo $d['hari'];?></small> -->
            <img src="<?php echo base_url();?>/image/gambar_berita/<?php echo $d['gambar'];?>" />
			<p align="justify"><?php echo $d['isi_berita'];?></p>
			<p>
            <?= share_button('twitter',	array('url'=>$url, 'text'=>$text, 'via'=>'amcc_amikom', 'type'=>'iframe'))?>
			<?= share_button('facebook',	array('url'=>$url, 'text'=>$text))?>
            </p>
			<?php endforeach;?>	
            </div>
        </div>